package com.jlkf.service;

import com.jlkf.pojo.ConfigManager;
import com.jlkf.pojo.User;
import com.jlkf.temp.Page;
import com.platform.server.response.response.pojo.ReturnData;

import java.util.Map;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.web.bind.annotation.RequestBody;

public interface UserService {
   //用户列表
	Object getUserList(String startTime,String endTime,String telephone,Integer sex,Integer isOnline,Integer pageNo,Integer pageSize,Integer isDeleted
			,String order,String sortname);
   //城市列表
	Object getCityList(Integer pageNo,Integer pageSize);
	//导出
	void exportUserList(String startTime,String endTime,String telephone,Integer sex,Integer isOnline,Integer pageNo,Integer pageSize,Integer isDeleted
			,String order,String sortname,HttpServletResponse response);

    void getUserInfo(User user, Map<String, Object> map);

    Object updateUser(User user);

    ReturnData getDrivers(String createTimes,String loginTimes,User user, Page page);

    void getDriverInfo(User user, Map<String, Object> map);

    Object cancelOrderConf();

    Object orderConf(ConfigManager conf);
    Object getEnterpriseList(String company,Integer pageNo,Integer pageSize,String userAccount);
    
   Object addEnterprise(String json);
   
   Object deleteEnterprise( String ids);
   
   
   Object userEnterpriseCoupon( Long qyId,Integer pageNo,Integer pageSize,String startTime,String endTime,String couponName,String couponNo,String couponCode,String giftedPeopleName);
   
   void exportEnterprise(String company,String userAccount,HttpServletResponse response,HttpServletRequest request);
   //在线人数
   Object getOnLineNum();
   //添加司机
   ReturnData addDrivers(String json,HttpServletRequest request);
   //导出司机列表
   void exportDriverList(String telephone,String createTime,String loginTime, Page page,HttpServletResponse response);
   //司机用户个人信息
   Object getList(String telephone,Integer pageNo,Integer pageSize,Integer identity);
   
   Object getUserCouponList(String couponNo,Integer pageNo,Integer pageSize,String couponCode,String couponName,String userName,String startTime,String endTime,String giftedPeopleName);
   Object getReceiveMileage(String startTime,String endTime,String licensePlate,Integer carType,String telephone,Integer pageNo,Integer pageSize);
   //送礼记录
   Object giftGivingRecords(String json);
   //删除乘客
   Object deleteUser(Long id);
   //添加用户
   Object addUser(String json,HttpServletRequest request);
   /**
    * 发送信息
    * @param phone
    * @return
    */
	ReturnData sendSMS(String  json);
	ReturnData sendACoupon(String json);
}

